FROM golang:1.10.2

COPY main.go /go/src/main.go
RUN go build -o /usr/local/bin/main /go/src/main.go

ENTRYPOINT ["/usr/local/bin/main"]